package com.example.myzhugezhaofang.bean;

import java.util.List;

/**
 * 作者：朱勇闯
 * data : 2021/4/15  21:32
 * 作用： xxxx
 */
public class NewsTypeListBean {

    /**
     * code : 200
     * message : 成功
     * data : {"list":[{"title":"推荐","url":"contentService/v1/News/appNewsRecommendList","modular":"","secondModular":"","childList":[]},{"title":"要闻","url":"contentService/v1/News/appNewsList","modular":"zgrb","secondModular":"","childList":[]},{"title":"百科","url":"contentService/v1/News/appNewsList","modular":"zgbk","secondModular":"","childList":[]},{"title":"市场报告","url":"contentService/v1/News/appNewsList","modular":"zgzb","secondModular":"","childList":[{"title":"全部","url":"contentService/v1/News/appNewsList","modular":"zgzb","secondModular":""},{"title":"成交日报","url":"contentService/v1/News/appNewsList","modular":"zgzb","secondModular":"cjrb"},{"title":"市场周报","url":"contentService/v1/News/appNewsList","modular":"zgzb","secondModular":"sczb"},{"title":"专题报告","url":"contentService/v1/News/appNewsList","modular":"zgzb","secondModular":"scyb"}]},{"title":"楼市动态","url":"contentService/v1/News/appNewsList","modular":"loushidongtai","secondModular":"","childList":[]}]}
     */

    private int code;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * title : 推荐
         * url : contentService/v1/News/appNewsRecommendList
         * modular :
         * secondModular :
         * childList : []
         */

        private String title;
        private String url;
        private String modular;
        private String secondModular;
        private List<ChildBean> childList;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getModular() {
            return modular;
        }

        public void setModular(String modular) {
            this.modular = modular;
        }

        public String getSecondModular() {
            return secondModular;
        }

        public void setSecondModular(String secondModular) {
            this.secondModular = secondModular;
        }

        public List<ChildBean> getChildList() {
            return childList;
        }

        public void setChildList(List<ChildBean> childList) {
            this.childList = childList;
        }

        public static class ChildBean {
            private String title;
            private String url;
            private String modular;
            private String secondModular;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getModular() {
                return modular;
            }

            public void setModular(String modular) {
                this.modular = modular;
            }

            public String getSecondModular() {
                return secondModular;
            }

            public void setSecondModular(String secondModular) {
                this.secondModular = secondModular;
            }
        }
    }
}
